<?php
namespace Home\Controller;

use Think\Controller;

class ErrorController extends Controller
{

    public function error404()
    {
        $this->display();
    }
     function _empty(){
        header("HTTP/1.0 404 Not Found");//使HTTP返回404状态码
        $this->display("Error:error404");
    }
}
